//
//  ZZCAddBankCardController.m
//  ZZC-Finance
//
//  Created by mac on 2017/5/24.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "ZZCAddBankCardController.h"

@interface ZZCAddBankCardController ()
//持卡人姓名
@property (weak, nonatomic) IBOutlet UITextField *nameTextField;
//银行卡号
@property (weak, nonatomic) IBOutlet UITextField *bankTextField;
//身份证号码
@property (weak, nonatomic) IBOutlet UITextField *cardTextField;

@end

@implementation ZZCAddBankCardController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = ZZCBGColor;
    [self.nameTextField becomeFirstResponder];
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault;
    self.navigationController.navigationBar.hidden = YES;
}


- (void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
    self.navigationController.navigationBar.hidden = NO;
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
}
//返回
- (IBAction)backClick {
    [self.navigationController popViewControllerAnimated:YES];
}
//完成
- (IBAction)carryOutClick {
    ZZCLog(@"你点击完成按钮");
  [self.navigationController popViewControllerAnimated:YES];
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.view endEditing:YES];
}

@end
